home comics writing pictures archive about

RequestMsgBoxArgs.cs

Language: C#
Last Modified: 2020-06-27 1:58:36 PM UTC
File Size: 1498 bytes
http://www.penguinstew.ca/example/MVVMbase/ViewModelBase/RequestMsgBoxArgs.cs
���usingSystem;
usingSystemWindows;
namespacePenguinMVVMBaseViewModelBase
{
<summary>
EventArgsforRequestMsgBoxevent
<summary>
publicclassRequestMsgBoxArgs:EventArgs
{
<summary>
ThetexttodisplayintheMessageBox
<summary>
publicstringMessageBoxText{get;set;}
<summary>
ThecaptiontodisplayintheMessageBox
<summary>
publicstringMessageBoxCaption{get;set;}
<summary>
ThebuttonstodisplayintheMessageBox
<summary>
publicMessageBoxButtonMessageBoxButtons{get;set;}
<summary>
TheimagetodisplayintheMessageBox
<summary>
publicMessageBoxImageMessageBoxIcon{get;set;}
<summary>
TheactiontocallwiththeMessageBoxresult
<summary>
publicAction<MessageBoxResult>Callback{get;set;}
publicRequestMsgBoxArgsstringmessageBoxTextstringmessageBoxCaptionMessageBoxButtonmessageBoxButtons
MessageBoxImagemessageBoxIconAction<MessageBoxResult>callback
{
MessageBoxText=messageBoxText;
MessageBoxCaption=messageBoxCaption;
MessageBoxButtons=messageBoxButtons;
MessageBoxIcon=messageBoxIcon;
Callback=callback;
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46